package com.oig.sys.msg.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.util.Date;

@Schema
@Data
public class MqConfigVo {


	@Schema(description = "id")
	private Integer id;

	@Schema(description = "所属系统id")
	private Integer systemId;
	@Schema(description = "所属系统名称")
	private String systemName;

	@Schema(description = "主业务类型")
	private String businessType;

	@Schema(description = "关联单据类型")
	private String relationType;

	@Schema(description = "rabbitmq的路由exchange")
	private String producerExchange;
	@Schema(description = "rabbitmq的route_key")
	private String producerKey;

	@Schema(description = "创建人")
	private String createName;
	@Schema(description = "创建人id")
	private Integer createId;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@Schema(description = "创建时间")
	private Date createTime;

	@Schema(description = "消息修改人id")
	private Integer lastUpdateId;
	@Schema(description = "消息修改人")
	private String lastUpdateName;
	@Schema(description = "消息修改人时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date lastUpdateTime;

	@Schema(description = "版本号")
	private Integer version;
	@Schema(description = "状态")
	private String status;
}
